import numpy as np
from matplotlib import pyplot as plt

# 生成等差数组
x = np.arange(1, 11)
print(x)
y = 2 * x + 5
plt.title("Matplotlib demo")
plt.xlabel("x ais caption")
plt.ylabel("y ais caption")
plt.plot(x, y, "xk")
plt.show()
